package cn.sdormitory.exam.service;

import cn.sdormitory.common.api.CommonPage;
import cn.sdormitory.exam.entity.ClassroomTest;
import cn.sdormitory.exam.vo.ClassroomTestRecordVo;
import cn.sdormitory.exam.vo.ClassroomTestVo;

import java.util.List;

/**
 * @author : yy
 * @date: 2024/12/31 11:29
 * @description:
 */
public interface ClassroomTestService {
    CommonPage<ClassroomTestVo> getList(String testName, Integer courseId, Integer classId, Integer pageNum, Integer pageSize);

    void delTest(Integer[] ids);

    ClassroomTest getTest(Integer id);

    void editTest(ClassroomTest classroomTest);

    List<ClassroomTestRecordVo> getClassroomTestRecord(Integer classId, Integer testId);

    void updateTestRecord(Integer testId, List<ClassroomTestRecordVo> recordVos);
}
